package com.gl.saasservice.approvalprocess.repository;

import com.gl.saasservice.approvalprocess.entity.ApprovalProcess;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface ApprovalProcessRepository extends PagingAndSortingRepository<ApprovalProcess, Long>, JpaSpecificationExecutor<ApprovalProcess>, JpaRepository<ApprovalProcess,Long> {
    ApprovalProcess findByDistrictIdAndProcessStatus(Long districtId, Integer processStatus);
}
